html, body {
  padding: 0;
  margin: 0;
}

body {
  font-family: sans-serif;
}

div {
  padding: 0;
  margin: 0;
}

#header {
  background: transparent url(images/deg.gif) left top repeat-x;
  border-bottom: 1px solid #ccc;
}

#header h1 {
  padding: 0;
  margin: 0;
}

#header h1 a {
  display: block;
  width: 215px;
  height: 90px;
  background: transparent url(images/logo.png) 10px 5px no-repeat;
  text-indent: -5000em;
}

#welcome, #clock {
  background-color: #666;
  color: #fff;
  font-size: 12px;
  display: block;
}

#welcome {
  float: left;
  margin-left: 10px;
}

#clock {
  float: right;
  margin-right: 10px;
  }

#bars {
  clear: both;
  float: left;
  width: 100%;
  background-color: #444;
  margin-bottom: 20px;
}

#header-bars {
  float: left;
  width: 100%;
  background-color: #666;
}

#user-bar {
  background-color: #444;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  float: left;
  width: 80%;
}

#user-bar ul,
#user-bar li,
#user-bar p,
#punch_bar * {
  display: block;
  float: left;
  padding: 0;
}

#user-bar ul {
  margin-left: 20px;
}

#user-bar li a {
  margin-right: 8px;
  color: #000;
  text-decoration: none;
  padding: 4px 8px 4px 24px;
  background-color: #eee;
  -moz-border-radius: 6px;
  background-position: 5px center;
  background-repeat: no-repeat;
}

#admin-link {
  background-image: url(images/admin.png);
}

#logout-link {
  background-image: url(images/logout.png);
}

#user-bar li a:hover {
  background-color: #ccc;
}

#punch_bar {
  width: 18%;
  float: right;
  text-align: right;
}

#punch_in {
  background-color: green;
}

#punch_out {
  background-color: #a00;
}

.punch_button {
  display: block;
  width: 80px;
  height: 38px;
  margin: 2px;
  border: 1px solid #fff;
  color: #fff;
  font-weight: bold;
}

.punch_button:hover {
  border-color: #333;
}

#content {
  clear: both;
  margin: 15px;
  font-size: 13px;
}

table {
  border: 1px solid #ccc;
  width: 100%;
  border-collapse: collapse;
}

tr, td, th {
  border: 1px solid #ccc;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
  padding: 2px;
}

th {
  background-color: #eee;
}

h1 {
  color: #a00;
  font-size: 20px;
  margin-top: 10px;
}

#footer {
  text-align: center;
  color: #666;
  font-size: 12px;
  border-top: 1px dotted #666;
  margin-top: 10px;
  padding-top: 10px;
}

hr {
  display: none;
}

#login_form {
  padding: 6px;
}

#login_form input {
  border: 0;
  -moz-border-radius: 4px;
  background-color: #eee;
}

#notice {
  margin: 0 auto;
  border: 4px solid #c4a000;
  background-color: #fffd93;
  color: #333;
  width: 300px;
  -moz-border-radius: 8px;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

.in {
  color: green;
}

.out {
  color: #a00;
}

#content ul li a {
  font-size: 14px;
  text-decoration: none;
  color: #000;
  margin: 5px;
}

#content ul li {
  font-size: 14px;
}

#content ul li span {
  color: #a00;
}

#content ul li a:hover {
  border-bottom: 1px dotted #333;
}

#content p a {
  font-size: 13px;
  color: #a00;
}

#content p a:hover {
  text-decoration: none;
}

input[type=text], textarea {
  border: 1px solid #333;
  background-color: #fff;
}

#content label {
  font-size: 13px;
  color: #000;
}

.off-actions {
  padding: 0;
}

#content ul.off-actions li {
  list-style-type: none;
}

#content ul.off-actions li a {
  font-size: 13px;
}

#migrate_form {
  margin: 30px 10px;
}

.migrate-result {
  font-size: 14px;
  color: green;
}
